package com.jr.service;

import com.jr.pojo.Order;

import java.util.ArrayList;

public interface IOrderService {
    //查询所有,总计可开票金额
    Double queryBytotalAmount(Integer enterpriseId);
    //查询所有,获得‘相关企业名称’
    String queryByenterpriseName(Integer enterpriseId);
    //查询所有,获得'开票记录表主键’
    Integer queryByinvoicingRecordId(Integer enterpriseId);
    //查询已开票,历史已开票金额
    Double queryByOrderStatus(Order order);
    //查询未开票
    ArrayList<Order> queryByOrderStatusNo(Order order);
    //未开票->已开票
    int changeOrder(Order order);
    //查询已开票
    ArrayList<Order> queryByOrderStatusYes(Order order);
    //已开票->未开票
    boolean changeOrderNo(Order order);
}
